package com.yeswater.multithread.chapter1.test1_2.test1_2_8;

/**
 * author : yeswater
 * date : 2023/10/18
 */

public class MyThread1 extends Thread{
    private int count = 5;

    @Override
    public void run() {
        super.run();
        count--;
        System.out.println("count by " + currentThread().getName() + ": count = " + count);
    }
}
